import java.awt.Dimension;
import java.util.Random;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;


public class Swamp extends JPanel{

	private static final long serialVersionUID = 1L;
	Random random  = new Random();
	JLabel label;
	
	Swamp(){
		label = new JLabel("", new ImageIcon(getClass().getResource("/Pics/swamp1.gif")), JLabel.CENTER);
		
		setLayout(null);
		add(label);
		label.setBounds(0, 0, 24, 24);
		setSize(24,24);
	}
	@Override
	public Dimension getMinimumSize(){
		return new Dimension(24,24);	
	}
	@Override
	public Dimension getMaximumSize(){
		return new Dimension(24,24);	
	}
	@Override
	public Dimension getPreferredSize(){
		return new Dimension(24,24);	
	}
}
